﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class sendLetter:NPC
    {
        private string name;

        public string Name 
        {
            get{ return this.name; }
            set { this.name = value; }
        
        }

        public sendLetter(string name, NpcType npc) :base(name,npc)
        {
            this.name = name;
        
        }

        public override void work() 
        {

            Console.WriteLine("我叫{0}   你有一封信要送",this.name);
        
        
        }



    }
}
